package cn.jiangjiesheng.bootstrap.commons.properties;

import lombok.Data;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * Created by dev@jiangjiesheng.cn on 2022/10/10  <br/>
 *
 * @author dev@jiangjiesheng.cn
 */
@RefreshScope
@Data
@Configuration
@ConditionalOnMissingBean(DevUserMockProperties.class)
@ConfigurationProperties(prefix = "dev.mock-user")
public class DevUserMockProperties {
    private Boolean enabled = false;
    private String userId;
    private String entId;
    private String realName;
}
